package com.easybenefit.UUService.model;

import java.util.List;

/**
 * 接受新闻列表bean
 * Created by Andy on 2016/6/9.
 */

public class HttpNewsBean {

    /**
     * code : 200
     * message : 获取成功
     * data : {"maxpage":"1","curpage":"1","newslist":[{"news_id":"16","news_title":"全新升级","news_date":"2016-05-01","news_img":"/Public/news/2016-05-05/572af8223a389.jpg","news_sum":"平台升级完成","url":"http://www.uu2o.com/index/newsinfo?id=16"}],"couponlist":null}
     */

    private String code;
    private String message;
    /**
     * maxpage : 1
     * curpage : 1
     * newslist : [{"news_id":"16","news_title":"全新升级","news_date":"2016-05-01","news_img":"/Public/news/2016-05-05/572af8223a389.jpg","news_sum":"平台升级完成","url":"http://www.uu2o.com/index/newsinfo?id=16"}]
     * couponlist : null
     */

    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String maxpage;
        private String curpage;
        /**
         * news_id : 16
         * news_title : 全新升级
         * news_date : 2016-05-01
         * news_img : /Public/news/2016-05-05/572af8223a389.jpg
         * news_sum : 平台升级完成
         * url : http://www.uu2o.com/index/newsinfo?id=16
         */

        private List<PlatNewsBean> newslist;

        public String getMaxpage() {
            return maxpage;
        }

        public void setMaxpage(String maxpage) {
            this.maxpage = maxpage;
        }

        public String getCurpage() {
            return curpage;
        }

        public void setCurpage(String curpage) {
            this.curpage = curpage;
        }

        public List<PlatNewsBean> getNewslist() {
            return newslist;
        }

        public void setNewslist(List<PlatNewsBean> newslist) {
            this.newslist = newslist;
        }

    }
}
